﻿//Roshan

using System;

namespace Tzync
{
    /// <summary>
    /// File that is saved for future rollback
    /// </summary>
    public class RollbackFile
    {
        private string rbSource;    //location of rollback file
        private string rbDestination;   //location to rollback to
        private String rbLastSyncTime;    //last synced date/time of file
        private long rbSize;    //size of file
        private int rbId;   //id of file
        private bool rbDone;    //indicate whether rollback of this file is done
        private int rbVersion;  //version no of this file

        //Get and Set methods
        public string RbSource
        {
            get { return rbSource; }
            set { rbSource = value; }
        }

        public string RbDestination
        {
            get { return rbDestination; }
            set { rbDestination = value; }
        }

        public String RbLastSyncTime
        {
            get { return rbLastSyncTime; }
            set { rbLastSyncTime = value; }
        }

        public long RbSize
        {
            get { return rbSize; }
            set { rbSize = value; }
        }

        public int RbId
        {
            get { return rbId; }
            set { rbId = value; }
        }

        public bool RbDone
        {
            get { return rbDone; }
            set { rbDone = value; }
        }

        public int RbVersion
        {
            get { return rbVersion; }
            set { rbVersion = value; }
        }

    }   //end of RollbackFile class
}   
